<%@ Page Language="C#" MasterPageFile="~/Administration/main.master" AutoEventWireup="true"
    CodeFile="AffiliateAdd.aspx.cs" Inherits="Tathata.Web.Administration.Administration_AffiliateAdd" %>

<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="Modules/SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="Modules/EmailTextBox.ascx" %>
<asp:Content ID="c1" ContentPlaceHolderID="cph1" runat="Server">
    <div>
        <table class="adminContent">
            <tr>
                <td class="adminTitle">
                    First name:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtFirstName" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Last name:
                </td>
                <td class="adminData">
                    <nopCommerce:SimpleTextBox runat="server" ID="txtLastName" CssClass="adminInput"
                        ErrorMessage="Last name is required"></nopCommerce:SimpleTextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Middle name:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtMiddleName" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Phone number:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtPhoneNumber" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Email:
                </td>
                <td class="adminData">
                    <nopCommerce:EmailTextBox runat="server" ID="txtEmail" CssClass="adminInput"></nopCommerce:EmailTextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Fax number:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtFaxNumber" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Company:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtCompany" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Address 1:
                </td>
                <td class="adminData">
                    <nopCommerce:SimpleTextBox runat="server" ID="txtAddress1" CssClass="adminInput"
                        ErrorMessage="Address is required"></nopCommerce:SimpleTextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Address 2:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtAddress2" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    City:
                </td>
                <td class="adminData">
                    <nopCommerce:SimpleTextBox runat="server" ID="txtCity" CssClass="adminInput" ErrorMessage="City is required">
                    </nopCommerce:SimpleTextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    State / Province:
                </td>
                <td class="adminData">
                    <asp:TextBox ID="txtStateProvince" runat="server" CssClass="adminInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Zip / Postal code:
                </td>
                <td class="adminData">
                    <nopCommerce:SimpleTextBox runat="server" ID="txtZipPostalCode" CssClass="adminInput"
                        ErrorMessage="Zip / Postal code is required"></nopCommerce:SimpleTextBox>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Country:
                </td>
                <td class="adminData">
                    <asp:DropDownList ID="ddlCountry" AutoPostBack="False" CssClass="adminInput" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="adminTitle">
                    Active:
                </td>
                <td class="adminData">
                    <asp:CheckBox ID="cbActive" runat="server"></asp:CheckBox>
                </td>
            </tr>
            <tr>
                <td align="left" colspan="2">
                    <asp:Button ID="AddButton" runat="server" Text="Add" CssClass="adminButton" OnClick="AddButton_Click">
                    </asp:Button>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
